// 如果想要使得错误的地方不影响async函数后续的执行的话，可以使用try catch
async function async1 () {
    try {
        await Promise.reject('error!!!')
    } catch(e) {
        console.log(e)
    }

    console.log('async1');
    return Promise.resolve('async1 success')
}
async1().then(res => console.log(res))
console.log('script start')


// script start -> error!!! -> async1 -> async1 success
